//
// Created by LiuYou on 2021/10/28.
//

#include <iostream>
#include <unistd.h>


int main(int argc, char** argv) {
    {
        putchar( 'a' );
        write( STDOUT_FILENO, "b", 1 );

        putchar( 'a' );
        write( STDOUT_FILENO, "b", 1 );

        putchar( 'a' );
        write( STDOUT_FILENO, "b", 1 );

        // 运行结果:
        // bbbaaa
        /*
        /home/liuyou/CLionProjects/LinuxEnvironmentProgramming2/cmake-build-debug/src/io/sysio/sysio-ab1
        bbbaaa
        Process finished with exit code 0
         */

    }


    return 0;
}
